import {
    SHOPSTATUSDIC
} from '@/const/shopStatusDic'
export const shopLabelOption = {
    dicData: SHOPSTATUSDIC,
    border: true,
    index: true,
    indexLabel: '序号',
    selection: true,
    columnBtn:false,
    refreshBtn:false,
    addBtn:false,
    delBtn:false,
    editBtn:false,
    menuWidth:300,
    menuAlign:'center',
    formWidth: '100%',
    align:'center',
    stripe:true,
    column: [
    {
                label: "编号",
                prop: "id",
                width: "300",
                fixed: true,
                hide:true,
                display:false,
                rules: [{
                    required: true,
                    message: "请输入编号",
                    trigger: "blur"
                }]
            },
        /**标签标题*/
        {
        label:"标签标题",
        prop:"title",
        width:"500",
            rules: [{
                   required: true,
                   message: "标签标题",
                   trigger: "blur"
               }]
        },
        /**开启状态*/
        {
        label:"开启状态",
        prop:"openStatus",
        width:"200",
        type: 'switch',
        dicData:SHOPSTATUSDIC.OPENSTATE,
        },
        /**审批状态*/
        {
        label:"审批状态",
        prop:"approveStatus",
        width:"200",
        type: 'switch',
        dicData:SHOPSTATUSDIC.APLAYSTATE,
        },
        /**标签类型*/
        {
        label:"标签类型",
        prop: 'type',
        width:"200",
        type: 'select',
            dicData:SHOPSTATUSDIC.LABETYPE,
            rules: [{
                   required: true,
                   message: "标签类型",
                   trigger: "blur"
               }]
        },
        /**用户ID*/
        {
        label:"用户ID",
        prop:"userId",
        width:"300",
        hide:true,
            rules: [{
                   required: true,
                   message: "用户ID",
                   trigger: "blur"
               }]
        },
    ]

};

